package arraylist1;

import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;

//模拟一局扑克牌游戏
class pai{
    public String huashe;
    public String dianshu;
    public pai(String a,String b){
        this.huashe=a;
        this.dianshu=b;
    }
}
public class test11 {
    //public String rank;
    public static void main(String[] args) {
        String[] suit={"❤","😔","♣","⭐"};
        List<String> list= new ArrayList<>();
        for(String sui:suit){
            for(int i=1;i<11;i++){
                list.add(""+i+""+sui);
            }
//            int j=4;
//            while(j<5){
                list.add("j"+""+sui);
                //list.add("k")
            list.add("Q"+""+sui);
            list.add("K"+""+sui);
            list.add("A"+""+sui);
//
//            }
//            list.add(new pai("j",sui));
        }
        //for()
        Collections.shuffle(list);
        List<ArrayList> list2=new ArrayList<>();
        System.out.println(list);
    }
}
